using Abp.Runtime.Validation;
using System.Collections.Generic;
using Yozeev.Common;
using Yozeev.Dtos;

namespace Yozeev.BusinessLogic.Stats.Dtos
{
    public class GetOrderSourceInput : PagedSortedAndFilteredInputDto, IShouldNormalize
    {
        /// <summary>
        /// SourceId, CreationTime
        /// </summary>
        public List<QueryData> queryData { get; set; }
        public void Normalize()
        {
            if (string.IsNullOrEmpty(Sorting))
            {
                Sorting = "CreationTime Desc";
            }
        }
    }
}
